import pytest
from common import send_email,log_set


if __name__ == '__main__':
    log_set()
    pytest.main(['./','-s','--html=baogao.html'])
    send_email(['log.txt','baogao.html'])